package org.bim.view.drag.design.api.req;

import lombok.Getter;
import lombok.Setter;
import org.bim.view.drag.design.entity.TVisualMap;

/**
 * @author pengxg
 * @date 2021/12/16 4:04 下午
 */
@Getter
@Setter
public class MapReq extends PageReq {
    private String id;
    private String name;

    public TVisualMap toEntity() {
        TVisualMap entity = new TVisualMap();
        entity.setId(id);
        entity.setName(name);
        return entity;
    }
}
